class A:
    def test1(self):
        print('A的test1方法')

class B:
    def test2(self):
        print('B的test2方法')

class C(A,B):
    pass

c = C()
c.test1()
c.test2()